package com.ruoyi.web.sso.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 里程碑对象 milepost
 * 
 * @author ruoyi
 * @date 2021-11-05
 */
public class Milepost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private String id;

    /** 宝宝ID */
    @Excel(name = "宝宝ID")
    @ApiModelProperty(value="宝宝ID" )
    private String babyId;

    /** 里程字典ID */
    @Excel(name = "里程字典ID")
    @ApiModelProperty(value="里程字典ID" )
    private String itemDataId;

    /** 里程类型字典ID */
    @Excel(name = "里程类型字典ID")
    @ApiModelProperty(value="里程类型字典ID" )
    private String typeDataId;

    /** 图片URL */
    @Excel(name = "图片URL")
    @ApiModelProperty(value="图片URL" )
    private String imgUrl;

    /** 状态0未完成,1完成,2提前完成,3超时完成 */
    @Excel(name = "状态0未完成,1完成,2提前完成,3超时完成")
    @ApiModelProperty(value="状态0未完成,1完成,2提前完成,3超时完成" )
    private String states;

    /** 状态0未完成,1完成 */
    @Excel(name = "状态0未完成,1完成")
    @ApiModelProperty(value="状态0未完成,1完成" )
    private String completeState;

    /** 是否删除 0：否，1是 */
    @Excel(name = "是否删除 0：否，1是")
    @JsonIgnore
    @ApiModelProperty(value="是否删除 0：否，1是")
    private Integer deleted;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setBabyId(String babyId) 
    {
        this.babyId = babyId;
    }

    public String getBabyId() 
    {
        return babyId;
    }
    public void setItemDataId(String itemDataId) 
    {
        this.itemDataId = itemDataId;
    }

    public String getItemDataId() 
    {
        return itemDataId;
    }
    public void setTypeDataId(String typeDataId) 
    {
        this.typeDataId = typeDataId;
    }

    public String getTypeDataId() 
    {
        return typeDataId;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setStates(String states) 
    {
        this.states = states;
    }

    public String getStates() 
    {
        return states;
    }
    public void setCompleteState(String completeState) 
    {
        this.completeState = completeState;
    }

    public String getCompleteState() 
    {
        return completeState;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("babyId", getBabyId())
            .append("itemDataId", getItemDataId())
            .append("typeDataId", getTypeDataId())
            .append("imgUrl", getImgUrl())
            .append("states", getStates())
            .append("completeState", getCompleteState())
            .append("createTime", getCreateTime())
            .append("deleted", getDeleted())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
